package bill;

import java.util.Scanner;

public class TestBreak {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("**********欢迎光临建设银行ATM取款机**********");
        System.out.println("1.登录  2.取款  3.转账  4.存款  5.修改密码 ");
        System.out.println("请输入您的选择：");
        int num = scanner.nextInt();
        switch ( num ){
            case 1:
                System.out.println("完成登录操作");
                break;//退出分支结构
            case 2:
                System.out.println("完成取款操作");
                break;
            case 3:
                System.out.println("完成转账操作");
                break;
            case 4:
                System.out.println("完成存款操作");
                break;
            case 5:
                System.out.println("完成修改密码操作");
                break;
            default:
                System.out.println("欢迎下次再来");
        }

    }
}
